]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
introspect: Rename variable
authorJonas Ådahl <jadahl@gmail.com>
Tue, 1 Oct 2019 10:06:13 +0000 (12:06 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Thu, 20 Feb 2020 11:14:55 +0000 (11:14 +0000)
It was too generic, and would conflict with a StSettings variable.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/757

js/misc/introspect.js

index 67965f7d405541c4bc460cec4e760bea90362b65..754987eb5f75fe95c5f4932702214a835889462f 100644 (file)
@@ -30,7 +30,9 @@ var IntrospectService = class {
                                     this._syncRunningApplications();
                                 });
 
-        this._settings = new Gio.Settings({ schema_id: INTROSPECT_SCHEMA });
+        this._introspectSettings = new Gio.Settings({
+            schema_id: INTROSPECT_SCHEMA,
+        });
 
         let tracker = Shell.WindowTracker.get_default();
         tracker.connect('notify::focus-app',
@@ -56,7 +58,7 @@ var IntrospectService = class {
     }
 
     _isIntrospectEnabled() {
-        return this._settings.get_boolean(INTROSPECT_KEY);
+        return this._introspectSettings.get_boolean(INTROSPECT_KEY);
     }
 
     _isSenderWhitelisted(sender) {